package com.zhiche.lisa.bms.dao.model.psup;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 人送供方车型对照表
 * </p>
 *
 * @author linbao
 * @since 2019-06-18
 */
@TableName("lisa_psup_vehicle_contrast")
public class PsupVehicleContrast extends Model<PsupVehicleContrast> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 标准车型
     */
	@TableField("st_vehicle")
	private String stVehicle;
    /**
     * 合同车型
     */
	@TableField("cn_vehicle")
	private String cnVehicle;
    /**
     * 燃油类型; 0-0#柴油, 1-92#汽油
     */
	@TableField("oil_type")
	private Integer oilType;
    /**
     * 有效开始时间
     */
	@TableField("effective_date")
	private Date effectiveDate;
    /**
     * 有效结束时间
     */
	@TableField("invalid_date")
	private Date invalidDate;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getStVehicle() {
		return stVehicle;
	}

	public void setStVehicle(String stVehicle) {
		this.stVehicle = stVehicle;
	}

	public String getCnVehicle() {
		return cnVehicle;
	}

	public void setCnVehicle(String cnVehicle) {
		this.cnVehicle = cnVehicle;
	}

	public Integer getOilType() {
		return oilType;
	}

	public void setOilType(Integer oilType) {
		this.oilType = oilType;
	}

	public Date getEffectiveDate() {
		return effectiveDate;
	}

	public void setEffectiveDate(Date effectiveDate) {
		this.effectiveDate = effectiveDate;
	}

	public Date getInvalidDate() {
		return invalidDate;
	}

	public void setInvalidDate(Date invalidDate) {
		this.invalidDate = invalidDate;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "PsupVehicleContrast{" +
			", id=" + id +
			", stVehicle=" + stVehicle +
			", cnVehicle=" + cnVehicle +
			", effectiveDate=" + effectiveDate +
			", invalidDate=" + invalidDate +
			", createTime=" + createTime +
			"}";
	}
}
